<?php
	class m_taobao extends spModel
	{
		var $m_topsdk;

		function __construct()
		{
			// 必须加入启动父类构造函数的操作
			parent::__construct();
				 
			require 'TopSdk.php';
			$this->m_topsdk = new TopClient;
			$this->m_topsdk->appkey = APP_KEY;
			$this->m_topsdk->secretKey = APP_SECRET;
			$this->m_topsdk->format = 'json';
		}

	}
?>